This File menu command creates a new document—a web sketch—based on the current page of the current Sketchpad document. Web sketches allows users anywhere on the internet to interact with your sketch directly in their web browser, without requiring them to install The Geometer's Sketchpad or other special software on their computers.
The Export Web Sketch command creates your web sketch in one of two possible formats:
-
An HTML file or regular web page. (This is the default format.) The resulting file contains a self-contained browser-capable fully interactive version of your sketch within a minimal web page that you can upload or publish on your website for others' access. (Before publishing, you may also edit the contents of this document using an HTML or text editor to adjust the text surrounding the interactive web sketch or to otherwise better suit your needs.)
When exporting as an HTML file, you have the option to immediately preview your web sketch locally in your web browser. Since browsers use different text fonts and layouts than desktop software, you may find after locally previewing the output that you want to make slight adjustments to your original sketch before re-exporting it for web publication.
-
A JSON file containing only the actual Sketchpad construction specification. Use this format if you are interacting with Web Sketchpad in more programmatic fashions or building dynamically-modifying web pages.
